<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=320">
<style>
html { font-size: 16px; }
body { width: 320px; margin: 0; overflow-y: hidden; }
</style>
<script src="resources/autosizingTest.js"></script>
</head>
<body>
<div>
This test verifies that the page updates correctly after a dynamic change to the font scale factor.

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sapien sapien, tempus id egestas a, consectetur et felis. Ut pharetra mi eget lectus laoreet rutrum. Mauris tellus odio, egestas vitae sodales in, vehicula eget ante. Pellentesque id egestas arcu. Quisque tellus quam, rhoncus ac elementum vel, volutpat vel felis. Aliquam ut leo dolor, eget egestas tellus. Nunc ut velit gravida nisl fringilla rutrum eget at arcu. Vivamus et pretium mauris.
</div>
<script>
if (window.testRunner)
    testRunner.waitUntilDone();

setTimeout(function() {
    setFontScaleFactor(2);

    if (window.testRunner)
        testRunner.notifyDone();
}, 0);

</script>
</body>
</html>
